import Vue from 'vue';
import Router from 'vue-router';
import HelloWorld from '@/components/HelloWorld';
import Editor from '@/components/Editor';
import Three from '@/components/Three';
import TextGeometry from '@/components/TextGeometry';
import Test from '@/components/test';
import Geometry from '@/components/geometry';
Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/editor',
      name: 'Editor',
      component: Editor
    },

    {
      path: '/three',
      name: 'Three',
      component: Three
    },
    {
      path: '/textGeometry',
      name: 'TextGeometry',
      component: TextGeometry
    },
    {
      path: '/test',
      name: 'Test',
      component: Test
    },
    {
      path: '/geometry',
      name: 'Geometry',
      component: Geometry
    }

  ]
});
